[NTG-context] Re: documentation: parameters of \setuplist

2024-04-24 Thread Henning Hraban Ramm
: * state (start stop): what does this en-/disable? collecting entries? * label (yes no none Name): language dependent labels? as a prefix or what? You can use the key to set language dependent texts for the section counters in the list entry, with "yes" the values from the document

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-23 Thread Wolfgang Schuster
? collecting entries? * label (yes no none Name): language dependent labels? as a prefix or what? You can use the key to set language dependent texts for the section counters in the list entry, with "yes" the values from the document are used but you can also set whatever labe

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-22 Thread Henning Hraban Ramm
Am 22.04.24 um 18:30 schrieb Duncan Hothersall: Hi Hraban, I can help with one - aligntitle means an unnumbered section will align in the table of contents under the number rather than the title. So for example if you have a TOC combining \section and \subject entries, they would look like

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-22 Thread Duncan Hothersall
Hi Hraban, I can help with one - aligntitle means an unnumbered section will align in the table of contents under the number rather than the title. So for example if you have a TOC combining \section and \subject entries, they would look like this: 1 ... A section A subject rather than 1

[NTG-context] Re: preventing column break after section title

2024-04-18 Thread Peter Münster
On Thu, Apr 18 2024, Peter Münster wrote: > How could I prevent a column break after the second section title please? Ok, found it: \setupitemize[each][autointro] -- Peter ___ If your quest

[NTG-context] preventing column break after section title

2024-04-18 Thread Peter Münster
Hi, How could I prevent a column break after the second section title please? Minimal example: \starttext \startcolumns[n=2] \section{title 1} \dorecurse{22}{bla\par} \section{title 2} % Here starts a new column. \startitemize \dorecurse{15}{\item bla} \stopitemize \stopcolumns

[NTG-context] \getmarking for top at the current page

2024-04-15 Thread Biblio--- via ntg-context
for me. (I'm afraid that \getmarking[xxx][top] was intended for that and it is not feasible at all.) At page 1 the header should read "secA", at page 2 again "secA" (because the very first text belongs to "secA"), and at page 3 "secC" (because the very f

[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
nd/ register Command/ rightlabeltext Command/ script Command/ section Command/ seeregister Command/ setupcombinedlist Command/ setupitemgroup Command/ setuplabeltext Command/ setuppairedbox Command/ setupregister Command/ shift Command/ sorting Command/ startattachment Command/ startbackground Command/

[NTG-context] Re: how to apply metapost effects to section title?

2024-04-09 Thread Wolfgang Schuster
for i within tt : pathpart i && endfor cycle withshademethod "linear" withshadedirection up withshadecolors (red, blue) ; \stopMPcode } \definehead[Myhead][section] \setuphead[Myhead][ style=\Mystyle, ] \startMyhead[title=sample] a sample text

[NTG-context] how to apply metapost effects to section title?

2024-04-09 Thread seyal . zavira
withshademethod "linear" withshadedirection up withshadecolors (red, blue) ; \stopMPcode } \definehead[Myhead][section] \setuphead[Myhead][ style=\Mystyle, ] \startMyhead[title=sample] a sample text \stopMyhead \stoptext and the code below works but does not colo

[NTG-context] Re: what about "textdisplay"?

2024-04-02 Thread Hans Hagen via ntg-context
feature. When I tried line correction, it never helped; probably I used it wrong (e.g. around section titles). linecorrection is older, textdisplay newer and both are mainly meant to position boxed content (like images) in a way so that spacing looks acceptable ... they are vboxes with spacing

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Henning Hraban Ramm
helped; probably I used it wrong (e.g. around section titles). I wanted to document it, but can’t find it in the sources: The definition is in spac-ver.mkxl. Thank you! So, "context --find" does not what I thought it would. AFAIR the find option searches only the manual source

[NTG-context] Re: Use of marking

2024-03-21 Thread Thomas Meyer
[sectionnumber] \space - \space \getmarking[section] \stopsetups \setupheadertexts[\setup{doc:header}] \starttext \dorecurse{10}{ \startchapter[title={This is my chapter}] This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv \startsection[title={This is my section

[NTG-context] Re: Use of marking

2024-03-21 Thread Bruce Horrocks
> On 20 Mar 2024, at 18:45, Andres Conrado Montoya > wrote: > > 2. As far as I have found, including the chapter/section number in the > marking is not really a trivial task. I usually hack something using > \headnumber and \getmarking, like so: You can do the follow

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
As I understand, Thomas needs a layout in which the header shows something like 1. Chapter title -- 1.1. Section title (including the numbers! *This is the important bit!*) There are a couple things about this: 1. In a section (part, chapter, section, etc.) you can introduce three versions

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
\setupheadtext[de][section=Aufgabe] Rename the section, then you don’t need marking. Sorry, I'm in a hurry and must look up how to get the number… Am 20.03.24 um 12:18 schrieb Thomas Meyer: Hi Hraban, and thanks. setuphead[chapter,section][numberwidth=2em] or "fit" work

[NTG-context] Re: Use of marking

2024-03-20 Thread Thomas Meyer
Hi Hraban, and thanks. setuphead[chapter,section][numberwidth=2em] or "fit" works! I know \setupheadertexts, but do not know what shall I write here: \startsection[titel=Aufgabe, marking=?] If I write marking=Aufgabe I get Aufgabe, no number! For chapter the same. \setuph

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
eadertexts I guess you're using the section level for "Aufgabe"? Then something like {\getmarking{chapter} – \getmarking{section}} might fit your request. The formatting should be possible with \setuphead[chapter,section][numberwidth=2em

[NTG-context] Re: Suppress the Chapter Number in the Section Numbering

2024-03-19 Thread Wolfgang Schuster
Jeroen schrieb am 19.03.2024 um 20:35: I am trying to suppress the chapter number in a section number as below as in 1., 2., etc instead of 1.1, 1.2, etc. Is there a simple way to achieve this? 1. The First Chapter 1. The First Section ... 2. The Second Section ... 2. The Second Chapter 1

[NTG-context] Suppress the Chapter Number in the Section Numbering

2024-03-19 Thread Jeroen
I am trying to suppress the chapter number in a section number as below as in 1., 2., etc instead of 1.1, 1.2, etc. Is there a simple way to achieve this? 1. The First Chapter 1. The First Section ... 2. The Second Section ... 2. The Second Chapter 1. The Third Section ... 2. The Fourth Section

[NTG-context] Re: Mikael’s missing math manual

2024-03-18 Thread Hraban Ramm
d]{\bf #1}\autoinsertnextspace} … \startsection[title=Lists] \TODO{Research the options of \tex{setupitemgroup}!} \stopsection … \startchapter[title=Work list]   Sections that still need work.\blank  \placetodos \stopchapter So I get a prominent marker in the content and the title of the affected section a

[NTG-context] \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Max Chernoff
ution" for this, although I'd prefer something a bit less hacky. Any ideas? Also, is there a way to highlight an equation across an \alignhere? Once again, I've found a "solution", but like before, it's pretty hacky. Example files are attached. Thanks, -- Max \setupindenting[yes, 3em] \setuphe

[NTG-context] Re: How to set section title based on section content?

2024-03-09 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 09.03.2024 um 16:01: How to set section title based on section content? I have a document that has some structures like this: \starttext \startsection[title={Animals}] \event{\input knuth } \stopsection \startsection[title={Books}] \event{\input knuth

[NTG-context] How to set section title based on section content?

2024-03-09 Thread Joel via ntg-context
How to set section title based on section content? I have a document that has some structures like this: \starttext \startsection[title={Animals}] \event{\input knuth } \stopsection \startsection[title={Books}] \event{\input knuth } \stopsection \stoptext The event macro runs a bunch

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Wolfgang Schuster
Hans Hagen schrieb am 06.03.2024 um 21:38: On 3/6/2024 7:50 PM, Wolfgang Schuster wrote: The semicolon is a undocumented extension (I noticed it in the definition of \page[quadruple]) of \numexpr in Luametatex for the modulus operator. One of these days I have to write the pending section

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Hans Hagen
On 3/6/2024 7:50 PM, Wolfgang Schuster wrote: The semicolon is a undocumented extension (I noticed it in the definition of \page[quadruple]) of \numexpr in Luametatex for the modulus operator. One of these days I have to write the pending section in th elow level manual and also explain

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Pablo Rodriguez via ntg-context
e. Many thanks for your reply, Wolfgang. Now I have the minimal sample: \startbuffer[demo] author text \stopbuffer \starttext \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc}{xml:*} \xmlsetsetup{\xmldocument} {(div|section)[@id='h

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
setupinterlinespace[line=3.2ex] \setupitemize[each][margin=yes] \setuphead[title][header=empty] \setupheader[style={\sc}] \setupfooter[style={\itxx}] \setupheadertexts[Utilisation de plusieurs langues dans un même texte avec \ConTeXt][][][{\getmarking[section]}] \setupfootertexts[][][][© J.-P. Delange

[NTG-context] Re: Structuring a magazine or booklet

2024-02-29 Thread Jean-Pierre Delange
://wiki.contextgarden.net/Imposition I'll read and test it. Hi Jean-Pierre, in its simplest form, a booklet may be: \setuppapersize[A4][A3, landscape] \setuparranging[2UP] \starttext \dorecurse{28}{\section{Section}\input zapf} \stoptext I think this seems to be what you may be aiming at. Just in case

[NTG-context] Re: Structuring a magazine or booklet

2024-02-28 Thread Pablo Rodriguez via ntg-context
][A3, landscape] \setuparranging[2UP] \starttext \dorecurse{28}{\section{Section}\input zapf} \stoptext I think this seems to be what you may be aiming at. Just in case it might help, Pablo ___ If your question is of int

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
pages > flushing realpage 135, userpage 135, subpage 135 structures > bookmark: Prueba de homogeneidad structure > sectioning > section @ level 3 : 0.7.2 -> Prueba de homogeneidad structures > bookmark: Hipótesis structure > sectioning > subsu

[NTG-context] Re: typing with scite module and escape

2024-02-24 Thread Henning Hraban Ramm
}} \setuptyping[TEX][   option=tex,% scite sets cld   escape=yes, ] \starttext \startTEX \starttext/BTEX\SAY{Text starts here}/ETEX \input tufte \stoptext/BTEX\SAY{Text ends here}/ETEX \stopTEX \stoptext I tried to load the module only in the section where I need it, that lead to strange errors

[NTG-context] Re: manuals

2024-02-18 Thread Jean-Pierre Delange
h the PDF version. I have no idea how this documentation update could be achieved, but the fact is that it would be desirable to devote a section to the purely technical and basic aspects of CTX installation and font availability on Windows, Mac OS, Linux, BSD, etc., with MWEs and examples a l

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Oliver Marugg
> Am 13.02.2024 um 16:54 schrieb Wolfgang Schuster > : > > Oliver Marugg schrieb am 13.02.2024 um 00:17: >> Hi >> Section numbering does not work until I remove \startbackmatter >> \stopbackmatter. I had a longer text file and I stripped it down until I &

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Wolfgang Schuster
Oliver Marugg schrieb am 13.02.2024 um 00:17: Hi Section numbering does not work until I remove \startbackmatter \stopbackmatter. I had a longer text file and I stripped it down until I found this? Greets Oliver Running freshly installed context ARM64 on m1 and updated it via sh install.sh

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Oliver Marugg
Many thanks Taco, that works indeed;-) > Am 13.02.2024 um 09:29 schrieb Taco Hoekwater : > > > >> On 13 Feb 2024, at 00:17, Oliver Marugg wrote: >> >> Hi >> >> Section numbering does not work until I remove \startbackmatter >> \stopbac

[NTG-context] Re: Section numbering does not work

2024-02-13 Thread Taco Hoekwater
> On 13 Feb 2024, at 00:17, Oliver Marugg wrote: > > Hi > > Section numbering does not work until I remove \startbackmatter > \stopbackmatter. I had a longer text file and I stripped it down until I > found this? IIRC : \setupsectionblock[backpart][number=ye

[NTG-context] Section numbering does not work

2024-02-12 Thread Oliver Marugg
Hi Section numbering does not work until I remove \startbackmatter \stopbackmatter. I had a longer text file and I stripped it down until I found this? Greets Oliver Running freshly installed context ARM64 on m1 and updated it via sh install.sh on ARM64 macos 14.3.1: context --version

[NTG-context] Re: How to print the book title and section title where \reference is located?

2024-02-09 Thread Bruce Horrocks
uirement A is met in TB, "Cats", p. 11" basically letting the reader know > its in the textbook, section called "Cats", on p. 11. To mark the pages, I'm > simply dropping in macros called "\requirementA" "\requirementB" on whichever > page of whiche

[NTG-context] How to print the book title and section title where \reference is located?

2024-02-06 Thread Joel via ntg-context
chersguide.tex I have to prove to a government agency that the content meets several requirements, so I'm giving them a simple file that says something like "Requirement A is met in TB, "Cats", p. 11" basically letting the reader know its in the textbook, section called "Cats",

[NTG-context] Re: chronological TOC

2024-01-29 Thread jbf
and setup the index at will. Lists have a sort option but this is no use here because you can't use the title to have a chronological sorted list. \starttext \placelist[section][order=title] \section{Hans} \section{Peter} \section{Anton} \stoptext Using the register mechanism as you suggest

[NTG-context] Re: chronological TOC

2024-01-29 Thread Bruce Horrocks
a way), but for >> special needs I’m (ab)using indexes: >> just add something like \index[2017-04-29]{Speech, Panama City} to your >> chapter command and setup the index at will. > > Lists have a sort option but this is no use here because you can't use the > title

[NTG-context] Re: chronological TOC

2024-01-29 Thread Wolfgang Schuster
-04-29]{Speech, Panama City} to your chapter command and setup the index at will. Lists have a sort option but this is no use here because you can't use the title to have a chronological sorted list. \starttext \placelist[section][order=title] \section{Hans} \section{Peter} \section{Anton

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-28 Thread Wolfgang Schuster
|<>| ##. SECTION TITLE paragraph ... . |<-->| margin ``` I wanted paragraph to begin on the same line the section title lies. \define[1]\SectionNumberCommand   {\margindata[inmargin]

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Pablo Rodriguez via ntg-context
On 1/27/24 17:40, Ali Ali wrote: > Thanks, those seems close to what I wanted but not exactly. > > The ASCII graphic (better in typewriter font) may explain what I desired, > ``` > text width > |<---->| > > ##.

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Ali Ali
Thanks, those seems close to what I wanted but not exactly. The ASCII graphic (better in typewriter font) may explain what I desired, ``` text width |<>| ##. SECTION TITLE par

[NTG-context] Re: Section number in the margin and the section title followed by paragraph!

2024-01-27 Thread Wolfgang Schuster
Ali Ali schrieb am 27.01.2024 um 06:03: I've able to achieve the results I wanted by trial/e using the code shown below. """ \def\subsecnumwrapper#1{\llap{#1\hskip8pt}} \setuphead[subsection][alternative=text,numbercommand=\subsecnumwrapper,distance=0pt] """ I just wanted to know if there

[NTG-context] Section number in the margin and the section title followed by paragraph!

2024-01-26 Thread Ali Ali
I've able to achieve the results I wanted by trial/e using the code shown below. """ \def\subsecnumwrapper#1{\llap{#1\hskip8pt}} \setuphead[subsection][alternative=text,numbercommand=\subsecnumwrapper,distance=0pt] """ I just wanted to know if there already an option defined to achieve the

[NTG-context] Re: Suggestions and problems of the manuals

2024-01-26 Thread Wolfgang Schuster
ersion. It also does not compile with the newest upload: ConTeXt ver: 2024.01.24 22:39 LMTX fmt: 2024.1.25 I found two problematic sections in the document. 1. The section "Choices" (line 694 -- 741) in math-spacing.tex describes the removed \setdisplaymathspacemodel command.

[NTG-context] Re: \starttable questions

2024-01-25 Thread Aditya Mahajan
> https://www.tug.org/TUGboat/Articles/tb29-1/tb91mahajan.pdf > > Aditya, > > thanks for those links. Would you mind if I added them to the "See also" > section of the \starttable wiki page (notwithstanding someone's claim at the > top of the page saying the

[NTG-context] Re: \starttable questions

2024-01-25 Thread Jim
it: > https://www.tug.org/TUGboat/Articles/tb28-3/tb90mahajan.pdf > https://www.tug.org/TUGboat/Articles/tb29-1/tb91mahajan.pdf Aditya, thanks for those links. Would you mind if I added them to the "See also" section of the \starttable wiki page (notwithstanding someone's claim at

[NTG-context] Suggestions and problems of the manuals

2024-01-17 Thread Gerion Entrup
> flushing realpage 15, userpage 13, subpage 15 pages > flushing realpage 16, userpage 14, subpage 16 pages > flushing realpage 17, userpage 15, subpage 17 pages > flushing realpage 18, userpage 16, subpage 18 pages

[NTG-context] Width of captions and notes in outer margin not correct on even pages

2024-01-09 Thread Milan cel Mare via ntg-context
ow}, width=\outermarginwidth, headcolor=red, color=green, style={\tfx\setupinterlinespace}, align=width] \setupexternalfigures[location=default] \setupmargindata[style={\tfx}, stack=yes] \setupmargindata[inouter][color=orange] \setupmargindata[ininner][color=blue] \showframe \starttext \section{Margin Tes

[NTG-context] Re: Links

2024-01-09 Thread Ursula Hermann
t; > I want to use linked bibliography numbers, linked Chapter, section > subsection, linked margin numbers, in the text. > > \setupinteraction[state=start] This is essential. > > \starttext > > Der Wert von \m{y = f(x)} ist unabhängig von der Wahl\par von > \m{x\dou

[NTG-context] Re: Why the way key-value argument is called affected the document's output?

2024-01-08 Thread Hans Hagen
On 1/8/2024 11:05 PM, 1114...@gmail.com wrote: Hi, I was cleaning and formatting my context file and then when I compiled it, the output I got introduced extra vertical spacings at the section headings that weren't there in the previous compilations. I had to spend enormous amount of time

[NTG-context] Why the way key-value argument is called affected the document's output?

2024-01-08 Thread 111414w
Hi, I was cleaning and formatting my context file and then when I compiled it, the output I got introduced extra vertical spacings at the section headings that weren't there in the previous compilations. I had to spend enormous amount of time trying to fix it so to emulate my previous outputs

[NTG-context] Re: Links

2024-01-08 Thread Henning Hraban Ramm
Am 08.01.24 um 14:10 schrieb Ursula Hermann: Dear List, Is this the right way? I want to use linked bibliography numbers, linked Chapter, section subsection, linked margin numbers, in the text. \setupinteraction[state=start] This is essential. \starttext Der Wert von \m{y = f(x)} ist

[NTG-context] Links

2024-01-08 Thread Ursula Hermann
Dear List, Is this the right way? I want to use linked bibliography numbers, linked Chapter, section subsection, linked margin numbers, in the text. \setupinteraction[state=start] \starttext Der Wert von \m{y = f(x)} ist unabhängig von der Wahl\par von \m{x\doubleprime} ist gleichbedeutend mit

[NTG-context] Re: QR Code

2023-12-21 Thread Ursula Hermann
ertainly not a WinEdt issue... Alternative method WinEdt's Macro Manual (among other things) explains how to use the SetEnvVar and GetEnvVar macro functions, should you require more information. And instead of using the Variables interface of the Execution Modes dialog, it is possible to add code

[NTG-context] Re: ConTeXt support for Nova text editor (MacOS)

2023-12-08 Thread Paul Mazaitis
;> >> https://github.com/pmazaitis/nova-context/releases/tag/0.6.0 >> >> ...currently in beta, but fairly functional. >> >> This version of the extension supports: >> >> * Syntax Highlighting >> * Folding for (most) environments >> * Navigating by Symb

[NTG-context] Re: marginwidths

2023-12-03 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 03.12.2023 um 16:33: On 11/22/23 18:03, Wolfgang Schuster wrote: Hans van der Meer via ntg-context schrieb am 22.11.2023 um 15:45: But changing the width of the section in the middle is not changing. dr. van der Meer, your sample works for me if you

[NTG-context] Re: marginwidths

2023-12-03 Thread Pablo Rodriguez via ntg-context
On 11/22/23 18:03, Wolfgang Schuster wrote: > Hans van der Meer via ntg-context schrieb am 22.11.2023 um 15:45: >> But changing the width of the section in the middle is not changing. dr. van der Meer, your sample works for me if you add width=fit, such as in: \setuplayout[

[NTG-context] Re: Support Chinese Date Conversion

2023-11-29 Thread Yihan Song
potential number conversions. And I just realize, for Chinese date, only year section follows the as-is pattern, for month or day, December should be represented as 十二月 instead of 一二, twenty-sixth is 二十六日 instead of 二六, we might need to consider to narrow down the name to be year could be mo

[NTG-context] Re: marginwidths

2023-11-22 Thread Wolfgang Schuster
Hans van der Meer via ntg-context schrieb am 22.11.2023 um 15:45: But changing the width of the section in the middle is not changing. Adapt \textwidth narrows the textwidth but does not allow wider margins. see next example. So how to adapt the page to for example: [leftmargin 40mm][middle

[NTG-context] Re: marginwidths

2023-11-22 Thread Hans van der Meer via ntg-context
But changing the width of the section in the middle is not changing. Adapt \textwidth narrows the textwidth but does not allow wider margins.see next example. So how to adapt the page to for example:[leftmargin 40mm][middle what is left][rightmargin 60mm] this should leave 210-40-60=110mm

[NTG-context] Re: xmlpos values doubled

2023-11-21 Thread Benjamin Buchmuller
; \stopbuffer > > \startxmlsetups xml:text > \xmlsetsetup{#1}{doc|s|ss}{xml:*} > \stopxmlsetups > > \xmlregistersetup{xml:text} > > \startxmlsetups xml:doc > \chapter{\xmlpos{#1}\letterat\xmldepth{#1}: \xmlflush{#1}} > \stopxmlsetups > > \startxmlsetups xml:s > \s

[NTG-context] Re: It works after a few changes but ..

2023-11-21 Thread Bruce Horrocks
> On 20 Nov 2023, at 08:54, Ursula Hermann wrote: > > Dear Bruce, > > Yes, I need also margintext. What do you want to appear in the margin: the theorem number or the section number of the current section? In other words, what should replace the "hard coded" 2.1

[NTG-context] Drawing calligraphy practice grid in metafun

2023-11-20 Thread Andres Conrado Montoya
start := 0 ; % Macros % Draw a section of a line (ascender, x-height or descender) vardef Section(expr lines, initial) = draw (0, initial) -- (line, initial) withpen pencircle scaled 0.2mm ; for i=0 step 1 until lines : save final ; final = i*nib ; pair a; a = (0, final

[NTG-context] Re: unwanted blank page

2023-11-20 Thread Pablo Rodriguez via ntg-context
the title page > (though I define sectionblocks for keeping different numbering systems > for the table of contents and the document) Section blocks are intended for that. Just a comment, if your cover (or title) page involves a one and only single page, you may use makeups, such as in

[NTG-context] learning about the grid

2023-11-19 Thread Miguel Diaz
of a section are printed one over the other. Playing with the options and setupinterlinespace I got the unhappily desired 1.3ex that may school requieres for the teaching programs (grid=line, interlinespace=1.3ex), but I somehow feel that's not the right way to go. 1. Why are the lines printed one over

[NTG-context] Re: ConTeXt support for Nova text editor (MacOS)

2023-11-16 Thread Alexandre Christe
nts > * Navigating by Symbols (headings: chapter, section, etc.) > * Spell-checking of body text and section titles > * Managing builds with Nova's tasks system > > (As an aside, this extension uses an updated version of the ConTeXt > tree-sitter parser [https://github.com/pmazaitis/

[NTG-context] Re: named destinations in /GoToR

2023-11-14 Thread Pablo Rodriguez via ntg-context
lowing sample: \setupinteraction[state=start, focus=standard] \starttext \dorecurse{5}{\dorecurse{5} {\chapter[\recurselevel]{Chapter} \section[sec-\recurselevel]{Section}}} \stoptext Of course, this kind of identifiers have to be unique to be useful, but I wonder

[NTG-context] Re: named destinations in /GoToR

2023-11-13 Thread Michal Vlasák
> \starttext > \dorecurse{5} > {\chapter[\recurselevel]{Chapter} > \section[sec-\recurselevel]{Section}} > \stoptext > > This source only samples PDF documents not generated with ConTeXt. This > means that no .tuc file may be available and named destinations ma

[NTG-context] named destinations in /GoToR

2023-11-13 Thread Pablo Rodriguez via ntg-context
Dear list, imagine I have a PDF document (named "whatever.pdf") such as the one generated from this source: \setupinteraction[state=start, focus=standard] \starttext \dorecurse{5} {\chapter[\recurselevel]{Chapter} \section[sec-\recurselevel]{Section}} \stoptext T

[NTG-context] Re: hard clipping in ConTeXt?

2023-11-13 Thread Pablo Rodriguez via ntg-context
On 11/11/23 11:02, Hans Hagen via ntg-context wrote: > On 11/10/2023 6:17 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Is there any way to have a hard clipping in ConTeXt? >> >> I mean, that only the contents of the clipped section is added to the >> re

[NTG-context] Re: ConTeXt support for Nova text editor (MacOS)

2023-11-11 Thread Henning Hraban Ramm
functional. This version of the extension supports: * Syntax Highlighting * Folding for (most) environments * Navigating by Symbols (headings: chapter, section, etc.) * Spell-checking of body text and section titles * Managing builds with Nova's tasks system (As an aside, this extension uses

[NTG-context] ConTeXt support for Nova text editor (MacOS)

2023-11-11 Thread Paul Mazaitis
supports: * Syntax Highlighting * Folding for (most) environments * Navigating by Symbols (headings: chapter, section, etc.) * Spell-checking of body text and section titles * Managing builds with Nova's tasks system (As an aside, this extension uses an updated version of the ConTeXt tree-sitter parser

[NTG-context] Re: hard clipping in ConTeXt?

2023-11-11 Thread Hans Hagen via ntg-context
current Firefox), xpdf, Evince, mupdf-gl, the viewer is able to find "dealing", altough it cannot be displayed. Okular and Sumatra (with Wine in Linux) are not able to find "dealing". Is there any way to have a hard clipping in ConTeXt? I mean, that only the contents of the clip

[NTG-context] hard clipping in ConTeXt?

2023-11-10 Thread Pablo Rodriguez via ntg-context
"dealing", altough it cannot be displayed. Okular and Sumatra (with Wine in Linux) are not able to find "dealing". Is there any way to have a hard clipping in ConTeXt? I mean, that only the contents of the clipped section is added to the resulting PDF document? Many thanks f

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Taco Hoekwater
t;> \chapter{Three} >>> \input knuth >>> \chapter{Four} >>> \input ward >>> \stopbackmatter >>> \stoptext >>> Von: Jeroen >>> Gesendet: Donnerstag, 14. September 2023 23:50 >>> An: mailing list for ConTeXt users >>>

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Rik Kabel
. September 2023 23:50 An: mailing list for ConTeXt users Betreff: [NTG-context] Chapters without new page In the \startbackmatter ... \stopbackmatter section i would like to have some chapters that are not automatically placed on a new page for the next chapter. Is there an easy way to suppress

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Taco Hoekwater
xt > Von: Jeroen > Gesendet: Donnerstag, 14. September 2023 23:50 > An: mailing list for ConTeXt users > Betreff: [NTG-context] Chapters without new page > In the \startbackmatter ... \stopbackmatter section i would like to have > some chapters that are not automatical

[NTG-context] Re: Chapters without new page

2023-09-15 Thread denis.maier
new page In the \startbackmatter ... \stopbackmatter section i would like to have some chapters that are not automatically placed on a new page for the next chapter. Is there an easy way to suppress the new page for these chapters? Thanks, Jeroen

[NTG-context] Re: Chapters without new page

2023-09-14 Thread Rik Kabel
On 9/14/2023 10:10 PM, Rik Kabel wrote: On 9/14/2023 5:49 PM, Jeroen wrote: In the \startbackmatter ... \stopbackmatter section i would like to have some chapters that are not automatically placed on a new page for the next chapter. Is there an easy way to suppress the new page

[NTG-context] Re: Chapters without new page

2023-09-14 Thread Rik Kabel
On 9/14/2023 5:49 PM, Jeroen wrote: In the \startbackmatter ... \stopbackmatter section i would like to have some chapters that are not automatically placed on a new page for the next chapter. Is there an easy way to suppress the new page for these chapters? Thanks, Jeroen Untried: 1

[NTG-context] Chapters without new page

2023-09-14 Thread Jeroen
In the \startbackmatter ... \stopbackmatter section i would like to have some chapters that are not automatically placed on a new page for the next chapter. Is there an easy way to suppress the new page for these chapters? Thanks, Jeroen

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
ctions are shown in the table of content > because by default only the numbered sections are listed. > begin example 1 > \setuphead [title]  [incrementnumber=list] > \setuphead [subject]    [incrementnumber=list] > \setuphead [subsubject] [incrementnumber=list] > \definehead [conte

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
ject]    [incrementnumber=list] \setuphead [subsubject] [incrementnumber=list] \definehead [contentstitle] [title] \setupcombinedlist [content] [list={chapter,title,section,subject,subsection,subsubject}] \starttext \completecontent \title{Title} \subject{Subject} \subsubject{Subsubject}

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread jbf
alternative=d, which I confess I had entirely overlooked! Julian On 5/9/23 08:43, Max Chernoff wrote: Hi Julian, I am attempting to get a TOC that looks like the following (in other words with section titles and their relative page numbers in a block below the chapter): Has anyone put together a TOC

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread Max Chernoff
Hi Julian, > I am attempting to get a TOC that looks like the following (in other > words with section titles and their relative page numbers in a block > below the chapter): > Has > anyone put together a TOC of this kind and might be able to give me a > hint to follo

[NTG-context] Adjust width of section part of table of contents

2023-09-04 Thread Jeroen
The following is a setuplist for the table of contents. Is there a way to have the section part only go to 80% of the page width, similar to width=0.8\textwidth \setuplist [chapter] [style={\bf}] \setuplist [section] [style={\tfx}] \setuplist [chapter,section] [headnumber

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Lukas via ntg-context
Hello, On 2023-09-04 12:06, Wolfgang Schuster wrote: \mainlanguage[cz] \setuphead   [section]   [distance=1.25em,    style=\bfc,    align={flushleft,broad,nothyphenated}] that's it, thank you! Lukas \setupbodyfont[8pt] \starttext \chapter{Dummy} \samplefile{lorem} \section{Specifické

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Wolfgang Schuster
Lukas via ntg-context schrieb am 04.09.2023 um 13:33: Hello, just " \setuphead[section][distance=1.25em] \setuphead[section][style=\bfc] " Lukas On 2023-09-04 11:25, Henning Hraban Ramm wrote: Am 04.09.23 um 13:06 schrieb Lukas via ntg-context: IOW to force the word "stavb

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Lukas via ntg-context
Hello, just " \setuphead[section][distance=1.25em] \setuphead[section][style=\bfc] " Lukas On 2023-09-04 11:25, Henning Hraban Ramm wrote: Am 04.09.23 um 13:06 schrieb Lukas via ntg-context: IOW to force the word "stavby" not to cross the right border (see the

[NTG-context] Re: Trimming (rearranging) long section name

2023-09-04 Thread Henning Hraban Ramm
Am 04.09.23 um 13:06 schrieb Lukas via ntg-context: IOW to force the word "stavby" not to cross the right border (see the green vertical line) but to appear on the next line? I played with "strict", "verytolerant" and similar options but they seem not to affect

[NTG-context] Trimming (rearranging) long section name

2023-09-04 Thread Lukas via ntg-context
Hello, is there a way to alter the section name to be " Specifické požadavky pro předpokládanou technologii stavby (přístupy, přívody el. energie, skladovací plochy, montážní a pomocné plochy, montážní a pomocné konstrukce, ...) " instead of " Specifické požadavky pro

[NTG-context] Re: Reinserting a section title followed by (continued) after a page break

2023-09-04 Thread Hans Hagen via ntg-context
On 9/4/2023 5:55 AM, Calvin Ross wrote: On the off chance anyone seeing this is interested, I have a solution uploaded as part of a module I wrote for screenplay and stageplay writing: https://github.com/cjayross/drama.mkiv/blob/4a9b2576c8630fd03352d95f99456092f6e21190/drama.mkiv#L480 A few

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread Wolfgang Schuster
jbf schrieb am 04.09.2023 um 08:34: I am attempting to get a TOC that looks like the following (in other words with section titles and their relative page numbers in a block below the chapter): Chapter 1 ...5 Section 1   5, Section 2  6

[NTG-context] TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread jbf
I am attempting to get a TOC that looks like the following (in other words with section titles and their relative page numbers in a block below the chapter): Chapter 1 ...5 Section 1   5, Section 2  6, Section 3  7, Section 4   8, Section 5   9

[NTG-context] Re: Reinserting a section title followed by (continued) after a page break

2023-09-03 Thread Calvin Ross
On the off chance anyone seeing this is interested, I have a solution uploaded as part of a module I wrote for screenplay and stageplay writing: https://github.com/cjayross/drama.mkiv/blob/4a9b2576c8630fd03352d95f99456092f6e21190/drama.mkiv#L480 The solution ended up being very detailed and

  1   2   3   4   5   6   7   8   9   10   >